//==============================================================================
// Militia_anim.txt
//==============================================================================

import Greek_Small_Infantry_Shield_anim.txt
import militia_spear_defines.txt

//==============================================================================
define Head
{
	SetSelector
	{
		TechLogic none/Medium Infantry/Heavy Infantry/Champion Infantry
		set hotspot
		{
			version
			{
				Visual Infantry G Militia Head
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite Head Copper
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite Head Copper
				ReplaceTexture Infantry G Hoplite Head Copper/Infantry G Hoplite Head Bronze
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite Head Copper
				ReplaceTexture Infantry G Hoplite Head Copper/Infantry G Hoplite Head Iron
				
			}
		}
	}
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-BoredA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Idle
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-IdleA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-WalkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag FootstepLeft 0.60 true
				tag FootstepRight 0.20 true
//-- end auto generated section
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Militia
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				connect RightHand Spear hotspot
				connect BackChest GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			// this is a copy of attack 1 in order to hopefully make the 2-handed stab more rare
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Militia
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag SpecificSoundSet 0.39 false ShieldBashWooden checkVisible 
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Infantry G Militia
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Copper
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect RightHand Spear hotspot
				connect BackChest GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			// this is a copy of attack 1 in order to hopefully make the 2-handed stab more rare
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Copper
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag SpecificSoundSet 0.39 false ShieldBashWooden checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Copper
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Bronze
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect RightHand Spear hotspot
				connect BackChest GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			// this is a copy of attack 1 in order to hopefully make the 2-handed stab more rare
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Bronze
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag SpecificSoundSet 0.39 false ShieldBash checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Bronze
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Iron
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Militia_Headless-AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect RightHand Spear hotspot
				connect BackChest GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			// this is a copy of attack 1 in order to hopefully make the 2-handed stab more rare
			{
				Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag GenericSound 0.40 true
				tag SpecificSoundSet 0.35 false SpearSwing checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Iron
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
			version
			{
				Visual Infantry G Hoplite_AttackB
//-- auto generated by the bang animation tool
//-- do not hand edit these values
				tag Attack 0.49 true	
				tag SpecificSoundSet 0.39 false ShieldBash checkVisible
//-- end auto generated section
				ReplaceTexture Infantry G Hoplite Standard/Archer G Peltast Iron
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Death
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-DeathA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect TopOfHead Head hotspot
			}
		}
	}
}

//==============================================================================
anim Flail
{
	SetSelector
	{
		TechLogic none/Copper Mail/Bronze Mail/Iron Mail
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Copper
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Bronze
				connect TopOfHead Head hotspot
			}
		}
		set hotspot
		{
			version
			{
				Visual Infantry G Militia_Headless-FlailA
				connect RightHand Spear hotspot
				connect LeftForearm GreekSmallInfantryShield hotspot
				ReplaceTexture Infantry G Militia/Archer G Peltast Iron
				connect TopOfHead Head hotspot
			}
		}
	}
}
